﻿using Newtonsoft.Json;

namespace ChinaTax.LeQi
{
    public class Response
    {
        [JsonProperty("returncode")]
        public string ReturnCode { get; set; }

        [JsonProperty("returnmsg")]
        public string ReturnMsg { get; set; }

        public string RequestId { get; set; }
    }

    public interface IParse
    {
        void Parse(string value);
    }

    public class InternalHttpResponse
    {
        public string httpStatusCode { get; set; }
        public string body { get; set; }
    }


    public class InternalResponseWrap
    {
        public InternalResponse Response { get; set; }
    }
    public class InternalResponse
    {
        public string RequestId { get; set; }
        public string Data { get; set; }
        public InternalError Error { get; set; }
    }

    public class InternalError
    {
        public string Code { get; set; }

        public string Message { get; set; }
    }
}
